//
//  AppDetailTableViewCell.m
//  gdemm
//
//  Created by 李园园 on 2017/8/17.
//  Copyright © 2017年 Goldencis. All rights reserved.
//

#import "AppDetailTableViewCell.h"
#import "Masonry.h"
@implementation AppDetailTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
   
}
-(instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    if ([super  initWithStyle:style reuseIdentifier:reuseIdentifier]) {
          [self setUI];
    }
    return self;
}
- (void)setUI{
    
    UILabel *textLabel = [[UILabel alloc]init];
    textLabel.numberOfLines = 0;
    self.contentLabel = textLabel;
    [self addSubview:textLabel];
}


- (void)layoutSubviews{
    
    [super layoutSubviews];
    [self.contentLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.mas_equalTo(self.mas_left).offset(20);
        make.right.mas_equalTo(self);
         make.bottom.mas_equalTo(self.mas_bottom).offset(-10);
        make.top.mas_equalTo(self.mas_top).offset(5);
    }];
    
}

@end
